package d01014;

public class Point {
    private int x;//行坐标
    private int y;//列坐标
    private int state;//  状态值 0bxxxx xx x  xxxx->表示雷的数量为1 xx-->是否打开等状态 10表示插旗 01表示打开 00未打开 x->表示雷 0不是雷 1是雷
    public Point (){

    }

    public Point(int x, int y, int state) {
        this.x = x;
        this.y = y;
        this.state = state;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }
}
